// import { createApp } from 'vue'
// import App from './App.vue'

// createApp(App).mount('#app')

import { createApp, provide } from 'vue';
import App from './App.vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import router from '../src/router';
// import apiService from './api.js';
const app = createApp(App);
// app.provide('globalVar', 'aaa');
provide('globalVar', 'aaa');

app.config.globalProperties.msg = 'hello'

// app.config.globalProperties.$api = apiService; // 将apiService挂载为Vue的全局属性


app.use(ElementPlus);
app.use(router)
app.mount('#app');


